package com.eightbears.beboy.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/8/3.
 */

public class ShopRunDataEntity {

    /**
     * message : success
     * status_code : 200
     * data : {"total_purchases":44,"total_balance":"16.36","total_verify_purchases":9,"total_verify_balance":"0.09","on_date":[{"date":"2017-07-10","num":2,"balance":"0.02","each_coupon":[{"coupon_id":14,"num":2,"balance":"0.02","coupon":{"id":14,"title":"空间"}}],"refund_purchases":2,"refund_balance":"0.02"},{"date":"2017-07-11","num":6,"balance":"0.06","each_coupon":[{"coupon_id":14,"num":6,"balance":"0.06","coupon":{"id":14,"title":"空间"}}],"refund_purchases":4,"refund_balance":"0.04"},{"date":"2017-07-12","num":8,"balance":"0.08","each_coupon":[{"coupon_id":14,"num":8,"balance":"0.08","coupon":{"id":14,"title":"空间"}}],"refund_purchases":2,"refund_balance":"0.02"},{"date":"2017-07-13","num":5,"balance":"0.05","each_coupon":[{"coupon_id":14,"num":5,"balance":"0.05","coupon":{"id":14,"title":"空间"}}],"refund_purchases":5,"refund_balance":"0.05"},{"date":"2017-07-20","num":4,"balance":"0.04","each_coupon":[{"coupon_id":14,"num":4,"balance":"0.04","coupon":{"id":14,"title":"空间"}}],"refund_purchases":1,"refund_balance":"0.01"},{"date":"2017-07-21","num":16,"balance":"16.08","each_coupon":[{"coupon_id":2,"num":8,"balance":"16.00","coupon":{"id":2,"title":"测试套餐2"}},{"coupon_id":14,"num":8,"balance":"0.08","coupon":{"id":14,"title":"空间"}}],"refund_purchases":12,"refund_balance":"12.06"},{"date":"2017-07-24","num":3,"balance":"0.03","each_coupon":[{"coupon_id":14,"num":2,"balance":"0.02","coupon":{"id":14,"title":"空间"}},{"coupon_id":15,"num":1,"balance":"0.01","coupon":{"id":15,"title":"啦咯啦咯来咯弄"}}],"refund_purchases":1,"refund_balance":"0.01"}]}
     */

    private String message;
    private int status_code;
    private DataBean data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus_code() {
        return status_code;
    }

    public void setStatus_code(int status_code) {
        this.status_code = status_code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {

        /**
         * total_purchases : 44
         * total_balance : 16.36
         * total_verify_purchases : 9
         * total_verify_balance : 0.09
         * on_date : [{"date":"2017-07-10","num":2,"balance":"0.02","each_coupon":[{"coupon_id":14,"num":2,"balance":"0.02","coupon":{"id":14,"title":"空间"}}],"refund_purchases":2,"refund_balance":"0.02"},{"date":"2017-07-11","num":6,"balance":"0.06","each_coupon":[{"coupon_id":14,"num":6,"balance":"0.06","coupon":{"id":14,"title":"空间"}}],"refund_purchases":4,"refund_balance":"0.04"},{"date":"2017-07-12","num":8,"balance":"0.08","each_coupon":[{"coupon_id":14,"num":8,"balance":"0.08","coupon":{"id":14,"title":"空间"}}],"refund_purchases":2,"refund_balance":"0.02"},{"date":"2017-07-13","num":5,"balance":"0.05","each_coupon":[{"coupon_id":14,"num":5,"balance":"0.05","coupon":{"id":14,"title":"空间"}}],"refund_purchases":5,"refund_balance":"0.05"},{"date":"2017-07-20","num":4,"balance":"0.04","each_coupon":[{"coupon_id":14,"num":4,"balance":"0.04","coupon":{"id":14,"title":"空间"}}],"refund_purchases":1,"refund_balance":"0.01"},{"date":"2017-07-21","num":16,"balance":"16.08","each_coupon":[{"coupon_id":2,"num":8,"balance":"16.00","coupon":{"id":2,"title":"测试套餐2"}},{"coupon_id":14,"num":8,"balance":"0.08","coupon":{"id":14,"title":"空间"}}],"refund_purchases":12,"refund_balance":"12.06"},{"date":"2017-07-24","num":3,"balance":"0.03","each_coupon":[{"coupon_id":14,"num":2,"balance":"0.02","coupon":{"id":14,"title":"空间"}},{"coupon_id":15,"num":1,"balance":"0.01","coupon":{"id":15,"title":"啦咯啦咯来咯弄"}}],"refund_purchases":1,"refund_balance":"0.01"}]
         */

        private int total_purchases;
        private String total_balance;
        private int total_verify_purchases;
        private String total_verify_balance;
        private List<OnDateBean> on_date;

        public int getTotal_purchases() {
            return total_purchases;
        }

        public void setTotal_purchases(int total_purchases) {
            this.total_purchases = total_purchases;
        }

        public String getTotal_balance() {
            return total_balance;
        }

        public void setTotal_balance(String total_balance) {
            this.total_balance = total_balance;
        }

        public int getTotal_verify_purchases() {
            return total_verify_purchases;
        }

        public void setTotal_verify_purchases(int total_verify_purchases) {
            this.total_verify_purchases = total_verify_purchases;
        }

        public String getTotal_verify_balance() {
            return total_verify_balance;
        }

        public void setTotal_verify_balance(String total_verify_balance) {
            this.total_verify_balance = total_verify_balance;
        }

        public List<OnDateBean> getOn_date() {
            return on_date;
        }

        public void setOn_date(List<OnDateBean> on_date) {
            this.on_date = on_date;
        }

        public static class OnDateBean {
            /**
             * date : 2017-07-10
             * num : 2
             * balance : 0.02
             * each_coupon : [{"coupon_id":14,"num":2,"balance":"0.02","coupon":{"id":14,"title":"空间"}}]
             * refund_purchases : 2
             * refund_balance : 0.02
             */

            private String date;
            private int num;
            private String balance;
            private int refund_purchases;
            private String refund_balance;
            private List<EachCouponBean> each_coupon;

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getBalance() {
                return balance;
            }

            public void setBalance(String balance) {
                this.balance = balance;
            }

            public int getRefund_purchases() {
                return refund_purchases;
            }

            public void setRefund_purchases(int refund_purchases) {
                this.refund_purchases = refund_purchases;
            }

            public String getRefund_balance() {
                return refund_balance;
            }

            public void setRefund_balance(String refund_balance) {
                this.refund_balance = refund_balance;
            }

            public List<EachCouponBean> getEach_coupon() {
                return each_coupon;
            }

            public void setEach_coupon(List<EachCouponBean> each_coupon) {
                this.each_coupon = each_coupon;
            }

            public static class EachCouponBean {
                /**
                 * coupon_id : 14
                 * num : 2
                 * balance : 0.02
                 * coupon : {"id":14,"title":"空间"}
                 */

                private int coupon_id;
                private int num;
                private String balance;
                private CouponBean coupon;

                public int getCoupon_id() {
                    return coupon_id;
                }

                public void setCoupon_id(int coupon_id) {
                    this.coupon_id = coupon_id;
                }

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public String getBalance() {
                    return balance;
                }

                public void setBalance(String balance) {
                    this.balance = balance;
                }

                public CouponBean getCoupon() {
                    return coupon;
                }

                public void setCoupon(CouponBean coupon) {
                    this.coupon = coupon;
                }

                public static class CouponBean {
                    /**
                     * id : 14
                     * title : 空间
                     */

                    private int id;
                    private String title;

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public String getTitle() {
                        return title;
                    }

                    public void setTitle(String title) {
                        this.title = title;
                    }
                }
            }
        }
    }
}
